/// id : 257
/// title : "关于第三届中华经典诵写讲大赛“诗教中国”诗词讲解大赛现场总决赛的通知"
/// brief : "　　根据教育部办公厅《关于举办第三届中华经典诵写讲大赛的通知》(教语用厅函〔2021〕2号)要求，“迦陵杯•诗教中国”诗词讲解大赛已顺利完成初赛、复赛和线上半决赛评审，共评选出小学教师组50人，中学教师组40人，大学教师组25人，大学生组51人进入现场总决赛,角逐一等奖和二等奖。大赛组委会将在全部赛程结束后统一公示一二三等奖、优秀奖获奖及其他奖项名单。现将现场总决赛相关事宜通知如下：　　一、\t时间和地点　　比赛时间：10月17日至10月19日。10月16日12:00至10月17日12:00报到，10月20日离会，比赛期间，参赛者完成规定比赛项目后可提前离会。　　比赛地点：浙江省诸暨市海亮教育园"
/// target : "1"
/// outLinkUrl : ""
/// cover : ""
/// publishTime : "2021-09-23 15:40:26"
/// hits : "13444"
/// collected : false

class Article {
  Article({
      int? id, 
      String? title, 
      String? brief, 
      String? target, 
      String? outLinkUrl, 
      String? cover, 
      String? publishTime, 
      String? hits, 
      bool? collected,}){
    _id = id;
    _title = title;
    _brief = brief;
    _target = target;
    _outLinkUrl = outLinkUrl;
    _cover = cover;
    _publishTime = publishTime;
    _hits = hits;
    _collected = collected;
}

  Article.fromJson(dynamic json) {
    _id = json['id'];
    _title = json['title'];
    _brief = json['brief'];
    _target = json['target'];
    _outLinkUrl = json['outLinkUrl'];
    _cover = json['cover'];
    _publishTime = json['publishTime'];
    _hits = json['hits'];
    _collected = json['collected'];
  }
  int? _id;
  String? _title;
  String? _brief;
  String? _target;
  String? _outLinkUrl;
  String? _cover;
  String? _publishTime;
  String? _hits;
  bool? _collected;

  int? get id => _id;
  String? get title => _title;
  String? get brief => _brief;
  String? get target => _target;
  String? get outLinkUrl => _outLinkUrl;
  String? get cover => _cover;
  String? get publishTime => _publishTime;
  String? get hits => _hits;
  bool? get collected => _collected;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['id'] = _id;
    map['title'] = _title;
    map['brief'] = _brief;
    map['target'] = _target;
    map['outLinkUrl'] = _outLinkUrl;
    map['cover'] = _cover;
    map['publishTime'] = _publishTime;
    map['hits'] = _hits;
    map['collected'] = _collected;
    return map;
  }

}